package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品评论信息对象 t_goods_comments
 * 
 * @author ruoyi
 * @date 2024-05-29
 */
public class TGoodsComments extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品评论主键 */
    private String commentId;

    /** 商品id */
    @Excel(name = "商品id")
    private String goodsId;

    /** 评论用户id */
    private Long userId;

    /** 评论状态 */
    @Excel(name = "评论状态")
    private String status;

    /** 评价内容 */
    @Excel(name = "评价内容")
    private String comments;

    public void setCommentId(String commentId) 
    {
        this.commentId = commentId;
    }

    public String getCommentId() 
    {
        return commentId;
    }
    public void setGoodsId(String goodsId) 
    {
        this.goodsId = goodsId;
    }

    public String getGoodsId() 
    {
        return goodsId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setComments(String comments) 
    {
        this.comments = comments;
    }

    public String getComments() 
    {
        return comments;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("commentId", getCommentId())
            .append("goodsId", getGoodsId())
            .append("userId", getUserId())
            .append("status", getStatus())
            .append("comments", getComments())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
